package com.example.domain.repo;

import com.example.domain.entity.Post;
import com.example.domain.result.Result;

import java.util.List;

public interface JsonPlaceHolderRepo {
    Result<List<Post>> getAllPost();

    Result<Post> getPostById(int id);
}
